How to Install cppcheck software package in Ubuntu 16.04 LTS (Xenial Xerus)

How to Install cppcheck software package in Ubuntu 16.04 LTS (Xenial Xerus)

cppcheck software package provides tool for static C/C++ code analysis (CLI), you can install in your Ubuntu 16.04 LTS (Xenial Xerus) by running the commands given below on the terminal,

$ sudo apt-get update
$ sudo apt-get install cppcheck 

cppcheck is installed in your system.

Make ensure the cppcheck package were installed using the commands given below,

$ sudo dpkg-query -l | grep cppcheck *

You will get with cppcheck package name, version, architecture and description in a table

cppcheck package basic information:

Distro Ubuntu 16 04 lts xenial xerus
Section Development
Package cppcheck
Version 1.72-1
Description tool for static C/C++ code analysis (CLI)
Sub Section Devel


See Also, How to uninstall or remove cppcheck software package from Ubuntu 16.04 LTS (Xenial Xerus) ?